package com.meng.ioc_demo;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

/**
 * Created by Administrator on 2017/5/6.
 */

public class UnregistActivity extends Activity{
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        tv.setText("这个Activity没有注册");
        setContentView(tv);
        Log.d("UnregistActivity", "onCreate");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.d("UnregistActivity", "onStart");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.d("UnregistActivity", "onRestart");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.d("UnregistActivity", "onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.d("UnregistActivity", "onPause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.d("UnregistActivity", "onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d("UnregistActivity", "onDestroy");
    }
}
